package com.huatec.hiot_cloud.core.dao;


import java.util.List;

public interface IMongoDBBaseDao<T> {
    public void createCollection();
    public void insert(T entity);
    public T findById(String id);
    public List<T> findList(Integer skip,Integer limit);
    public List<T> findListByStr(String str);
    public void update(T entity);
    public void delete(T entity);
}
